.class public Lcom/h2/org/springframework/beans/factory/DResourceManager;
.super Ljava/lang/Object;
.source "DResourceManager.java"

# interfaces
.implements Lcom/h2/org/springframework/beans/factory/IResourceManager;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 11
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public getReader(Ljava/io/File;)Ljava/io/Reader;
    .locals 2
    .parameter "file"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 26
    new-instance v0, Ljava/io/InputStreamReader;

    invoke-virtual {p0, p1}, Lcom/h2/org/springframework/beans/factory/DResourceManager;->getResource(Ljava/io/File;)Ljava/io/InputStream;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V

    return-object v0
.end method

.method public getResource(Ljava/io/File;)Ljava/io/InputStream;
    .locals 1
    .parameter "file"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/FileNotFoundException;
        }
    .end annotation

    .prologue
    .line 15
    new-instance v0, Ljava/io/FileInputStream;

    invoke-direct {v0, p1}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V

    return-object v0
.end method

.method public getResource(Ljava/lang/String;)Ljava/io/InputStream;
    .locals 2
    .parameter "path"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/FileNotFoundException;
        }
    .end annotation

    .prologue
    .line 20
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 21
    .local v0, file:Ljava/io/File;
    invoke-virtual {p0, v0}, Lcom/h2/org/springframework/beans/factory/DResourceManager;->getResource(Ljava/io/File;)Ljava/io/InputStream;

    move-result-object v1

    return-object v1
.end method
